/* Start of DocFX css fix
 * See:
 * https://github.com/dotnet/docfx/pull/6659#issuecomment-728897346
 * https://github.com/kleisauke/net-vips/pull/214
 */
.affix {
    overflow-y: auto;
}

.affix ul > li > a:before {
    content: "|";
    font-size: 16px;
    top: 1px;
    left: 0;
}

.affix ul > li.active > a,
.affix ul > li.active > a:before {
    color: #337ab7;
    font-weight: bold;
}

.affix ul.level1 {
    overflow: hidden;
    padding-bottom: 10px;
    height: calc(100% - 100px);
}
/* End of DocFX css fix */

button, a {
    color: #47A7A0;
}

button:hover, button:focus, a:hover, a:focus, .toc .nav > li.active > a:hover, .toc .nav > li.active > a:focus, .toc .nav > li > a:hover, .toc .nav > li > a:focus {
    color: #6E8B60;
}

a.disable, a.disable:hover {
    color: #90ABB9;
}

.toc .nav > li.active > a, .affix ul > li.active > a, .affix ul > li.active > a:before {
    color: #6E8B60
}

.affix ul > li > a:before {
    color: #ccc;
}

.toc .nav > li > a, .affix ul > li > a, .affix ul > li > a:hover {
    color: #666;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

svg:hover path {
    fill: #fff;
}

.glyphicon {
    font-size: 16px;
    margin-right: 10px;
}

.hero {
    height: 350px;
    padding-top: 50px;
    font-weight: 300;
    text-align: center;
    color: #fff;
    background: #159957 linear-gradient(120deg, #155799, #159957);
}

.hero strong {
    font-weight: 400;
    font-family: Rockwell, "Courier Bold", Courier, Georgia, Times, "Times New Roman", serif;
}

.hero .text {
    font-size: 64px;
    text-align: center;
}

.hero .minitext {
    font-size: 20px;
    text-align: center;
    font-family: Candara, Calibri, Segoe, "Segoe UI", Optima, Arial, sans-serif;
    color: rgba(255, 255, 255, 0.7);
}

.hero .glyphicon {
    font-size: 16px;
}

.buttons-unit-small {
    font-size: 16px;
}

.buttons-unit-small a, .hero .minitext a {
    color: rgba(255, 255, 255, 0.8);
}

.buttons-unit-small a:hover, .buttons-unit-small a:focus, .hero .minitext a:hover, .hero .minitext a:focus {
    color: #fff;
}

.buttons-unit {
    margin-top: 60px;
    text-align: center;
}

.buttons-unit a {
    display: inline-block;
    font-size: 24px;
    margin: 0 12px;
    padding: 8px 16px;
    color: rgba(255, 255, 255, 0.7);
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    transition: color 0.2s, background-color 0.2s, border-color 0.2s;
    box-shadow: 1px 3px 3px rgba(0, 0, 0, 0.3);
}

.buttons-unit a:hover {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3)
}

.changelog-link, .github-link {
    margin: 5px;
}

@media only screen and (max-width: 768px) {
    .hero {
        height: 500px;
        margin-top: 0;
    }

    .buttons-unit a {
        display: block;
        margin: 12px;
    }
}

.key-section, .counter-key-section {
    padding: 30px 0;
}

.key-section .row > div, .counter-key-section .row > div  {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.key-section .glyphicon, .counter-key-section .glyphicon {
    font-size: 4em;
}

.key-section section, .counter-key-section section {
    padding-left: 10px;
}

.key-section section p, .counter-key-section section p {
    text-align: left;
}

.counter-key-section {
    border: 2px solid #6E8B60;
    border-image: linear-gradient(90deg, rgba(0, 0, 0, 0), #385361 50%, rgba(0, 0, 0, 0)) 1;
}
